/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Validacion;

import net.sf.oval.constraint.Length;
import net.sf.oval.constraint.Min;
import net.sf.oval.constraint.NotBlank;
import net.sf.oval.constraint.NotEmpty;
import net.sf.oval.constraint.NotNegative;
import net.sf.oval.constraint.NotNull;

/**
 *
 * @author katy
 */
public class ClienteVal {
    @NotNull
    @NotNegative
    @NotEmpty
    @Length(max=16)
    @Min(10000000) 
    @NotBlank
    private String numdoc;
    
    @NotNull
    @NotEmpty
    @Length(max=200)
    @NotBlank
    private String correo;
    
    @NotNull
    @NotEmpty
    @Length(max=100)
    @NotBlank
    private String nombre;
    
    @NotNull
    @NotEmpty
    @Length(max=100)
    @NotBlank
    private String apmaterno;
    
    @NotNull
    @NotEmpty
    @Length(max=100)
    @NotBlank
    private String appaterno;
    
    public String getNumdoc() {
        return numdoc;
    }

    public void setNumdoc(String numdoc) {
        this.numdoc = numdoc;
    }

    public String getCorreo() {
        return correo;
    }

    public void setCorreo(String correo) {
        this.correo = correo;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public String getApmaterno() {
        return apmaterno;
    }

    public void setApmaterno(String apmaterno) {
        this.apmaterno = apmaterno;
    }

    public String getAppaterno() {
        return appaterno;
    }

    public void setAppaterno(String appaterno) {
        this.appaterno = appaterno;
    }  
}
